diff options
author | Adrian Batos-Parac <adrian.batos-parac@amdocs.com> | 2018-04-30 16:15:45 -0400 |
---|---|---|
committer | Adrian Batos-Parac <adrian.batos-parac@amdocs.com> | 2018-04-30 16:15:45 -0400 |
commit | 36b5671af2c3eec5ca81663382c4ca2898f79e55 (patch) | |
tree | 07d58851dc227322a9842adec0bf6ea1380d43be /src/chameleon/txform.clj | |
parent | 8e52114cf9289dd85c8838bf0eb8c24f5e2c7f99 (diff) |
Fix provenance capabilities
Fixes the issue where provenance was not properly being propagated to
the Gallifrey server.
Change-Id: Icc5f4fd3499a04aa710511879fc2d827d2bcc618
Issue-ID: AAI-797
Signed-off-by: abatos <adrian.batos-parac@amdocs.com>
Diffstat (limited to 'src/chameleon/txform.clj')
-rw-r--r-- | src/chameleon/txform.clj | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/chameleon/txform.clj b/src/chameleon/txform.clj deleted file mode 100644 index 95f357f..0000000 --- a/src/chameleon/txform.clj +++ /dev/null @@ -1,19 +0,0 @@ -(ns chameleon.txform - (:require [cheshire.core :refer :all] - [clojure.string :as str])) - -(defn map-keywords - "Maps all string based keys to keywords" - [kmap] - (into {} (for [[key value] kmap] [(keyword key) value]))) - -(defn flatten-key - "Maps a parent-child pair to a period separated keyword" - [parent child] - (keyword (str (name parent) "." (name child)))) - -(defn flatten-entry - "Flattens a nested map entry to a period separated keyword entry" - [map key] - (reduce #(assoc %1 (flatten-key key (first %2)) (second %2)) - {} (seq (key map)))) |