 (ns cmr-edsc-stubs.data.service
-  (:require [clj-time.local :as time]))
+  (:require [clj-time.coerce :as tc]
+            [clj-time.local :as time]))
 
 (defn create
   ([provider-id concept-id source-fn]

       :revision-id 1
       :revision-date now
       :created-at now
       :deleted false
       :user-id "cmr-stubbed-data"
       :service-name service-name
       ;:transaction-id

    (create provider-id concept-id service-name metadata
                    (str (java.util.UUID/randomUUID))))
  ([provider-id concept-id service-name metadata native-id]
    (let [now (tc/to-sql-time (time/local-now))]
      {;:id
       :concept-id concept-id
       :native-id native-id
