-
Notifications
You must be signed in to change notification settings - Fork 305
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
HPCC-29904 Remove generated code that builds the XSD and WSDL #18379
Conversation
@@ -24,6 +24,8 @@ | |||
|
|||
#include "bindutil.hpp" | |||
#include "seclib.hpp" | |||
//#include "esdl_def_helper.hpp" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just remove commented code. The history is still there.
@@ -356,7 +358,7 @@ class esp_http_decl EspHttpBinding : | |||
virtual int getMethodHelp(IEspContext &context, const char *serv, const char *method, StringBuffer &page); | |||
bool isMethodInService(IEspContext& context, const char *servname, const char *methname); | |||
|
|||
virtual int getMethodHtmlForm(IEspContext &context, CHttpRequest* request, const char *serv, const char *method, StringBuffer &page, bool bIncludeFormTag){return 0;} | |||
// virtual int getMethodHtmlForm(IEspContext &context, CHttpRequest* request, const char *serv, const char *method, StringBuffer &page, bool bIncludeFormTag){return 0;} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kenrowland It's great to see large chunks of the generated code being replaced with shared code. Just want to make sure thought... this has been well tested to make sure no functionailty is missing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are a few places where commented code should be removed, but approving as is. You can still remove those comments.
bcc7a46
to
c49657a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a couple small corrections to comments, otherwise looks good.
tools/hidl/hidlcomp.cpp
Outdated
outf("\t}\n"); | ||
} | ||
} | ||
|
||
outs("}\n"); | ||
|
||
//======================================================================================= |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this three line comment block is for the getHtmlForm function output which was removed, so the comment should be too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed.
tools/hidl/hidlcomp.cpp
Outdated
|
||
//method ==> getMethodHtmlForm | ||
outs("\tvirtual int getMethodHtmlForm(IEspContext &context, CHttpRequest* request, const char *serv, const char *method, StringBuffer &page, bool bIncludeFormTag);\n"); | ||
// method ===> getXmlFilename |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct comment to read getServiceXmlFilename
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated.
Removed code from HIDL that generated the code that generated XSD and WSDL forms Signed-Off-By: Kenneth Rowland kenneth.rowland@lexisnexisrisk.com
@ghalliday Please merge |
Remove code from HIDL that generates the code that generates the XSD and
WSDL forms.
Signed-Off-By: Kenneth Rowland kenneth.rowland@lexisnexisrisk.com
Type of change:
Checklist:
Smoketest:
Testing: