diff --git a/search-app/src/cmr/search/services/acls/subscription_acls.clj b/search-app/src/cmr/search/services/acls/subscription_acls.clj index 64777aa6d3..5983c590b5 100644 --- a/search-app/src/cmr/search/services/acls/subscription_acls.clj +++ b/search-app/src/cmr/search/services/acls/subscription_acls.clj @@ -5,7 +5,6 @@ [cmr.elastic-utils.search.query-execution :as qe] [cmr.common.services.search.query-model :as qm] [cmr.common.api.context :as context-util] - [cmr.common.util :as util] [cmr.search.services.acls.acl-helper :as acl-helper] [cmr.transmit.config :as tc])) diff --git a/search-app/src/cmr/search/services/association_service.clj b/search-app/src/cmr/search/services/association_service.clj index 0c4447b4a1..b5acea64cc 100644 --- a/search-app/src/cmr/search/services/association_service.clj +++ b/search-app/src/cmr/search/services/association_service.clj @@ -162,7 +162,7 @@ :source-concept-type concept-type}) operation)) associations))] - (info "update-associations:" t1) + (debug "update-associations:" t1) result)) (defn- fetch-concept diff --git a/search-app/src/cmr/search/services/generic_association_service.clj b/search-app/src/cmr/search/services/generic_association_service.clj index 8493814fb0..2928559425 100644 --- a/search-app/src/cmr/search/services/generic_association_service.clj +++ b/search-app/src/cmr/search/services/generic_association_service.clj @@ -195,7 +195,7 @@ :source-revision-id revision-id}) operation)) associations))] - (info "update-generic-associations:" t1) + (debug "update-generic-associations:" t1) result)) (defn- link-to-concepts diff --git a/search-app/src/cmr/search/services/parameters/conversion.clj b/search-app/src/cmr/search/services/parameters/conversion.clj index 4e3d80053a..6c973023b2 100644 --- a/search-app/src/cmr/search/services/parameters/conversion.clj +++ b/search-app/src/cmr/search/services/parameters/conversion.clj @@ -9,7 +9,6 @@ [cmr.common.services.search.query-model :as cqm] [cmr.common.concepts :as cc] [cmr.common.date-time-parser :as parser] - [cmr.common.services.errors :as errors] [cmr.common.util :as util] [cmr.search.models.query :as qm] [cmr.search.services.parameters.legacy-parameters :as lp])) diff --git a/search-app/src/cmr/search/services/parameters/converters/geometry.clj b/search-app/src/cmr/search/services/parameters/converters/geometry.clj index faf16fde4a..b7a5d0224c 100644 --- a/search-app/src/cmr/search/services/parameters/converters/geometry.clj +++ b/search-app/src/cmr/search/services/parameters/converters/geometry.clj @@ -6,8 +6,7 @@ [cmr.spatial.polygon :as poly] [cmr.spatial.point :as point] [cmr.spatial.line-string :as l] - [cmr.spatial.ring-relations :as rr] - [clojure.math.numeric-tower :as math]) + [cmr.spatial.ring-relations :as rr]) (:import (java.io BufferedReader File FileReader FileOutputStream FileInputStream) (java.nio.file Files) diff --git a/search-app/src/cmr/search/services/parameters/converters/shapefile.clj b/search-app/src/cmr/search/services/parameters/converters/shapefile.clj index a27f01aae5..09511f34ee 100644 --- a/search-app/src/cmr/search/services/parameters/converters/shapefile.clj +++ b/search-app/src/cmr/search/services/parameters/converters/shapefile.clj @@ -2,8 +2,8 @@ "Contains parameter converters for shapefile parameter" (:require [clojure.java.io :as io] - [cmr.common.config :as cfg :refer [defconfig]] - [cmr.common.log :refer [debug info]] + [cmr.common.config :refer [defconfig]] + [cmr.common.log :refer [debug]] [cmr.common.mime-types :as mt] [cmr.common.util :as util] [cmr.elastic-utils.search.es-group-query-conditions :as gc] diff --git a/search-app/src/cmr/search/services/parameters/converters/spatial.clj b/search-app/src/cmr/search/services/parameters/converters/spatial.clj index 5a7c88cbea..c1a1adb224 100644 --- a/search-app/src/cmr/search/services/parameters/converters/spatial.clj +++ b/search-app/src/cmr/search/services/parameters/converters/spatial.clj @@ -4,7 +4,7 @@ [clojure.string :as string] [cmr.elastic-utils.search.es-group-query-conditions :as gc] [cmr.elastic-utils.search.es-params-converter :as p] - [cmr.common.config :as cfg :refer [defconfig]] + [cmr.common.config :refer [defconfig]] [cmr.common.services.errors :as errors] [cmr.search.models.query :as qm] [cmr.spatial.circle :as spatial-circle] diff --git a/search-app/src/cmr/search/services/query_execution/has_granules_created_at_feature.clj b/search-app/src/cmr/search/services/query_execution/has_granules_created_at_feature.clj index ae4e7d6cc0..e885408582 100644 --- a/search-app/src/cmr/search/services/query_execution/has_granules_created_at_feature.clj +++ b/search-app/src/cmr/search/services/query_execution/has_granules_created_at_feature.clj @@ -11,7 +11,6 @@ has_granules_created_at time ranges. 3.) Return the full search results for those collection-ids returned by the granule query." (:require - [clojure.set :as set] [cmr.elastic-utils.search.query-execution :as query-execution] [cmr.search.services.query-execution.multi-part-query-feature-common :as mp-query-common])) diff --git a/search-app/src/cmr/search/services/query_execution/has_granules_revised_at_feature.clj b/search-app/src/cmr/search/services/query_execution/has_granules_revised_at_feature.clj index 35c283b44d..f2616828bc 100644 --- a/search-app/src/cmr/search/services/query_execution/has_granules_revised_at_feature.clj +++ b/search-app/src/cmr/search/services/query_execution/has_granules_revised_at_feature.clj @@ -6,7 +6,6 @@ This works exactly the same as the has_granules_created_at feature, but uses a different parameter to search for relevant granules." (:require - [clojure.set :as set] [cmr.elastic-utils.search.query-execution :as query-execution] [cmr.search.services.query-execution.multi-part-query-feature-common :as mp-query-common])) diff --git a/search-app/src/cmr/search/services/result_format_helper.clj b/search-app/src/cmr/search/services/result_format_helper.clj index 4d3e43d54b..c54d724e25 100644 --- a/search-app/src/cmr/search/services/result_format_helper.clj +++ b/search-app/src/cmr/search/services/result_format_helper.clj @@ -1,8 +1,6 @@ (ns cmr.search.services.result-format-helper "Defines helper functions to support result format. Result format is either a keyword or a map in - the format of {:format umm-json :version \"1.3\"}. Currently, only umm json has version support." - (:require [cmr.common.mime-types :as mt] - [cmr.umm-spec.versioning :as ver])) + the format of {:format umm-json :version \"1.3\"}. Currently, only umm json has version support.") (defn printable-result-format "Returns the given result format in a printable format" diff --git a/search-app/src/cmr/search/services/tagging/json_schema_validation.clj b/search-app/src/cmr/search/services/tagging/json_schema_validation.clj index 497a5aa35d..e8a0b37e55 100644 --- a/search-app/src/cmr/search/services/tagging/json_schema_validation.clj +++ b/search-app/src/cmr/search/services/tagging/json_schema_validation.clj @@ -1,8 +1,6 @@ (ns cmr.search.services.tagging.json-schema-validation "This contains JSON schema validations related to the tagging service" - (:require [cmr.common.validations.json-schema :as js] - [cheshire.core :as json] - [cmr.common.services.errors :as errors])) + (:require [cmr.common.validations.json-schema :as js])) (def ^:private base-tag-schema-structure "Base Schema for tags as json." diff --git a/search-app/src/cmr/search/services/tagging_service.clj b/search-app/src/cmr/search/services/tagging_service.clj index f4cf48d235..1a87a41e11 100644 --- a/search-app/src/cmr/search/services/tagging_service.clj +++ b/search-app/src/cmr/search/services/tagging_service.clj @@ -50,7 +50,7 @@ "Creates the tag saving it as a revision in metadata db. Returns the concept id and revision id of the saved tag." [context tag-json-str] - (info (format "Creating tag [%s]" tag-json-str)) + (debug (format "Creating tag [%s]" tag-json-str)) (let [user-id (context-util/context->user-id context msg/token-required-for-tag-modification) @@ -254,7 +254,7 @@ :originator-id originator-id}) operation)) tag-associations))] - (info "update-tag-associations:" t1) + (debug "update-tag-associations:" t1) result)) (defn- update-tag-associations-with-query diff --git a/search-app/src/cmr/search/services/url_helper.clj b/search-app/src/cmr/search/services/url_helper.clj index ed1705da4e..68ac4dc052 100644 --- a/search-app/src/cmr/search/services/url_helper.clj +++ b/search-app/src/cmr/search/services/url_helper.clj @@ -1,7 +1,6 @@ (ns cmr.search.services.url-helper "Defines functions to construct search urls" (:require - [cmr.common.config :as cfg] [cmr.transmit.config :as tconfig])) (defn search-root