-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[BACKLOG-43059] - Kettle changes for DB Connections #9779
base: webttle-mvp2
Are you sure you want to change the base?
Conversation
Method actionMethod = DatabaseLookup.class.getDeclaredMethod(fieldName + "Action", Map.class); | ||
this.setStepMetaInterface(stepMetaInterface); | ||
response = (JSONObject) actionMethod.invoke(this, queryParamToValues); | ||
} catch (NoSuchMethodException e) { |
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.
checkstyle is not followed please take care of it
response = (JSONObject) actionMethod.invoke(this, queryParamToValues); | ||
} catch (NoSuchMethodException e) { | ||
log.logError("Method not found: " + e.getMessage(), e); | ||
response.put("actionStatus", "FAILURE"); |
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.
why are the values "Failure" etc are hard coded, please use the ones present in step Interface as used by other steps
} | ||
|
||
@SuppressWarnings("java:S1144") // Using reflection this method is being invoked | ||
private JSONObject getTableFieldAction(Map<String, String> queryParams) { |
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.
Does the same code is present in dialog as well? If so then we have to refactor the dialog code for maintainability
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.
Requested few changes
No description provided.