Skip to content
This repository was archived by the owner on Feb 29, 2020. It is now read-only.

Commit 575f071

Browse files
authored
Merge pull request #9 from USGS-EROS/topic/ingest_url_fix
Topic/ingest url fix
2 parents 1720229 + 5b4be01 commit 575f071

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

project.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(defproject lcmap-mastodon "3.2.4"
1+
(defproject lcmap-mastodon "4.2.4"
22
:description "Functions for LCMAP data curation"
33
:url "https://eros.usgs.gov"
44
:license {:name "Unlicense"

src/mastodon/clj/server.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
(compojure/GET "/status/:tileid{[0-9]{6}}" [tileid] (get-status tileid request))
102102
(compojure/GET "/config" [] (get-config request))
103103
(compojure/GET "/healthy" [] (healthy request))
104-
(compojure/POST "/bulk-ingest" [] (bulk-ingest request))))
104+
(compojure/POST "/ingest" [] (bulk-ingest request))))
105105

106106
(defn response-handler
107107
[routes]

src/mastodon/cljs/core.cljs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
(go
7272
(let [tifs (<! ingest-channel)
7373
partifs (partition partition-level partition-level "" tifs)
74-
ard-resource (str ard-host "/bulk-ingest")]
74+
ard-resource (str ard-host "/ingest")]
7575

7676
(doseq [t partifs]
7777
(let [response (<! (http/post-request ard-resource {"urls" (string/join "," t)}))

0 commit comments

Comments
 (0)