code: @Override
      @GraphTransaction
      public List<String> getTraitNames(String guid) throws AtlasException {
          if (LOG.isDebugEnabled()) {
              LOG.debug("Retrieving trait names for entity={}", guid);
          }
  
          AtlasVertex instanceVertex = graphHelper.getVertexForGUID(guid);
          return GraphHelper.getTraitNames(instanceVertex);
      }
docs: Gets the list of trait names for a given entity represented by a guid.
  
  @param guid globally unique identifier for the entity
  @return a list of trait names for the given entity guid
  @throws RepositoryException