diff options
author | 2018-08-10 11:01:25 -0400 | |
---|---|---|
committer | 2018-08-20 14:12:02 -0400 | |
commit | bc450951067193b5b32a354ec82e92919778a807 (patch) | |
tree | 268db18312f736e35c57cda51f20918d4488a041 /src/sch/asdc_client.clj | |
parent | 90a448d6c9b73a76f49b5681a51c3531b978a0a4 (diff) |
EELF and email notification
Issue-ID: DCAEGEN2-554
Change-Id: Ibcc19aa84c4bd687fb258b4e1effddedb0328871
Signed-off-by: Au, Bill (wa998j) <wa998j@att.com>
Diffstat (limited to 'src/sch/asdc_client.clj')
-rw-r--r-- | src/sch/asdc_client.clj | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sch/asdc_client.clj b/src/sch/asdc_client.clj index b859f03..83b5017 100644 --- a/src/sch/asdc_client.clj +++ b/src/sch/asdc_client.clj @@ -20,7 +20,7 @@ (ns sch.asdc-client (:require [clj-http.client :as client] - [taoensso.timbre :as timbre :refer [error]] + [clojure.tools.logging :as logger :refer [debug error]] [cheshire.core :refer [parse-string]] [org.bovinegenius.exploding-fish :refer [uri param]]) (:gen-class)) @@ -47,6 +47,7 @@ (defn get-artifact! [connection artifact-path] + (debug (str "Entering get-artifact - artiface-path:" artifact-path)) (let [[asdc-uri user password instance-id insecure?] connection target-uri (assoc asdc-uri :path artifact-path) resp (client/get (str target-uri) { :basic-auth [user password] @@ -61,6 +62,7 @@ (defn get-service-metadata! [connection service-uuid] + (debug (str "Entering get-service-metadta - service-uuid:" service-uuid)) (let [[asdc-uri user password instance-id insecure?] connection target-uri (assoc asdc-uri :path (construct-service-path service-uuid)) resp (client/get (str target-uri) { :basic-auth [user password] |