code: @GET
      @Path("version")
      @Produces(Servlets.JSON_MEDIA_TYPE)
      public Response getVersion() {
          if (LOG.isDebugEnabled()) {
              LOG.debug("==> AdminResource.getVersion()");
          }
  
          if (version == null) {
              try {
                  PropertiesConfiguration configProperties = new PropertiesConfiguration("atlas-buildinfo.properties");
  
                  JSONObject response = new JSONObject();
                  response.put("Version", configProperties.getString("build.version", "UNKNOWN"));
                  response.put("Name", configProperties.getString("project.name", "apache-atlas"));
                  response.put("Description", configProperties.getString("project.description",
                          "Metadata Management and Data Governance Platform over Hadoop"));
  
                  // todo: add hadoop version?
                  // response.put("Hadoop", VersionInfo.getVersion() + "-r" + VersionInfo.getRevision());
                  version = Response.ok(response).build();
              } catch (JSONException | ConfigurationException e) {
                  throw new WebApplicationException(Servlets.getErrorResponse(e, Response.Status.INTERNAL_SERVER_ERROR));
              }
          }
  
          if (LOG.isDebugEnabled()) {
              LOG.debug("<== AdminResource.getVersion()");
          }
  
          return version;
      }
docs: Fetches the version for this application.
  
  @return json representing the version.