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

Data load for the Version Block db #88

Merged
merged 1 commit into from
Dec 2, 2018
Merged

Conversation

vivekVells
Copy link
Owner

@vivekVells vivekVells commented Dec 2, 2018

JSON response:
image

DB entry:
image

@vivekVells vivekVells added enhancement New feature or request bug fix fixed the bug labels Dec 2, 2018
@vivekVells vivekVells self-assigned this Dec 2, 2018
@@ -125,17 +166,30 @@ public Object getOsVersionInfoBy(String osArg) {
return javaVersionMap;
}

public String getJavaVersion() {
return String.valueOf(getMappedJavaVersionInfoBy("java vm version"));
Copy link
Owner Author

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

Copy link
Owner Author

@vivekVells vivekVells left a 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"));
Copy link
Owner Author

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;

@vivekVells
Copy link
Owner Author

addressed code clean up in #89.

this can go

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fix fixed the bug enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant