Uploaded image for project: 'Blazegraph (by SYSTAP)'
  1. Blazegraph (by SYSTAP)
  2. BLZG-1136

expose version information in workbench or endpoint

    Details

    • Type: New Feature
    • Status: Done
    • Resolution: Done
    • Affects Version/s: BIGDATA_RELEASE_1_4_0
    • Fix Version/s: None
    • Component/s: Workbench

      Description

      To easily check which bigdata version is currently running, it would be good to expose this information in the workbench (e.g. under status) or the SPARQL endpoint description.

        Activity

        Hide
        bryanthompson bryanthompson added a comment -

        I added the build version to the status page. It is only available when the ant script is used to generate the JAR. This invokes the "buildinfo" target as a dependency. The runtime system introspects for the BuildInfo class and reports the build version iff that class exists.

        I would be happy to add this to the service description, but I did not really see a suitable way to hack that (in terms of the spec). If there is a proposal, then the change is easy enough to SD.java.

        The incantation to obtain the build version is:

        String buildVer = Banner.getBuildInfo().get(Banner.BuildInfoMeta.buildVersion);
        				if (buildVer == null )
        					buildVer = "N/A";
        
        Show
        bryanthompson bryanthompson added a comment - I added the build version to the status page. It is only available when the ant script is used to generate the JAR. This invokes the "buildinfo" target as a dependency. The runtime system introspects for the BuildInfo class and reports the build version iff that class exists. I would be happy to add this to the service description, but I did not really see a suitable way to hack that (in terms of the spec). If there is a proposal, then the change is easy enough to SD.java. The incantation to obtain the build version is: String buildVer = Banner.getBuildInfo().get(Banner.BuildInfoMeta.buildVersion); if (buildVer == null ) buildVer = "N/A";

          People

          • Assignee:
            tobycraig tobycraig
            Reporter:
            peterhaase peterhaase
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: