-
Notifications
You must be signed in to change notification settings - Fork 0
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
Data load for the Version Block db #88
Conversation
@@ -125,17 +166,30 @@ public Object getOsVersionInfoBy(String osArg) { | |||
return javaVersionMap; | |||
} | |||
|
|||
public String getJavaVersion() { | |||
return String.valueOf(getMappedJavaVersionInfoBy("java vm version")); |
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.
do a code clean up for this file
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.
these sounds good to me. plz do a clean up this code. and address the comments for this file appropriately.
@@ -156,6 +210,34 @@ public Object getJavaVersionInfoBy(String javaArg) { | |||
return sigarVersionMap; | |||
} | |||
|
|||
public String getSigarBuildDate() { | |||
return String.valueOf(getSigarVersionInfoBy("sigar build date")); |
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.
use constant variable to fill in over here "sigar build date" can be private String SIGAR_BUILD_DATE;
addressed code clean up in #89. this can go |
JSON response:
DB entry: