@Override
  protected Set<String> getPKPropertyIds() {
    return PK_PROPERTY_IDS;
  }
In the case of a patch, check if there is a parent repo.
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/VersionDefinitionResourceProvider.java