Skip to content

Commit

Permalink
Merge pull request #273 from slr71/main
Browse files Browse the repository at this point in the history
CORE-2006: moved the `render` function to our `clojure-commons` library
  • Loading branch information
slr71 authored Aug 2, 2024
2 parents 0d0fa31 + 242971d commit 0c73d95
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 33 deletions.
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
[metosin/compojure-api "1.1.14"]
[org.cyverse/async-tasks-client "0.0.5"]
[org.cyverse/authy "3.0.1"]
[org.cyverse/clojure-commons "3.0.8"]
[org.cyverse/clojure-commons "3.0.9"]
[org.cyverse/debug-utils "2.9.0"]
[org.cyverse/kameleon "3.0.10"]
[org.cyverse/mescal "3.1.12"]
Expand Down
2 changes: 1 addition & 1 deletion src/apps/clients/notifications/common_sharing.clj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(ns apps.clients.notifications.common-sharing
(:require [apps.clients.iplant-groups :as ipg]
[apps.util.string :refer [render]]))
[clojure-commons.template :refer [render]]))

(def grouping-threshold 10)

Expand Down
2 changes: 1 addition & 1 deletion src/apps/clients/permissions.clj
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
(:require [apps.clients.iplant-groups :as ipg]
[apps.util.config :as config]
[apps.util.service :as service]
[apps.util.string :refer [render]]
[clojure.tools.logging :as log]
[clojure-commons.error-codes :refer [clj-http-error?]]
[clojure-commons.template :refer [render]]
[kameleon.uuids :refer [uuidify]]
[permissions-client.core :as pc]
[slingshot.slingshot :refer [try+]]))
Expand Down
2 changes: 1 addition & 1 deletion src/apps/service/apps/de/sharing.clj
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
[apps.service.apps.de.permissions :as perms]
[apps.tools.permissions :as tool-perms]
[apps.tools.sharing :as tool-sharing]
[apps.util.string :refer [render]]
[clojure.tools.logging :as log]
[clojure-commons.template :refer [render]]
[slingshot.slingshot :refer [try+]]))

(def app-sharing-formats
Expand Down
2 changes: 1 addition & 1 deletion src/apps/service/apps/jobs/sharing.clj
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
[apps.service.apps.jobs.permissions :as job-permissions]
[apps.service.apps-client :refer [get-apps-client-for-username]]
[apps.util.service :as service]
[apps.util.string :refer [render]]
[clojure.string :as string]
[clojure.tools.logging :as log]
[clojure-commons.core :refer [remove-nil-values]]
[clojure-commons.error-codes :as ce]
[clojure-commons.template :refer [render]]
[kameleon.uuids :refer [uuidify]]
[slingshot.slingshot :refer [try+ throw+]]))

Expand Down
2 changes: 1 addition & 1 deletion src/apps/tools/sharing.clj
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
[apps.clients.permissions :as perms-client]
[apps.persistence.tools :as tools-db]
[apps.tools.permissions :as perms]
[apps.util.string :refer [render]]
[clojure-commons.error-codes :as error-codes]
[clojure-commons.template :refer [render]]
[slingshot.slingshot :refer [try+]]))

(defn- get-tool-name
Expand Down
7 changes: 0 additions & 7 deletions src/apps/util/string.clj

This file was deleted.

20 changes: 0 additions & 20 deletions test/apps/string_test.clj

This file was deleted.

0 comments on commit 0c73d95

Please sign in to comment.