private Map<String, String> getRequestForeignKeys(Map<String, Object> properties) {
    Map<String, String> requestFKs = new HashMap<>();
    for (String property : properties.keySet()) {
      if (! property.equals(ARTIFACT_NAME_PROPERTY) && ! property.startsWith(ARTIFACT_DATA_PROPERTY)) {
        requestFKs.put(property, String.valueOf(properties.get(property)));
      }
    }
    return requestFKs;
  }
Get a map of foreign key to value for the given request properties.
The foreign key map will only include the foreign key properties which
are included in the request properties.  This is useful for reporting
errors back to the user.
.
@param properties  request properties

@return map of foreign key to value for the provided request properties
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ArtifactResourceProvider.java