aboutsummaryrefslogtreecommitdiff
path: root/src/clj/queue_api/db/core.clj
diff options
context:
space:
mode:
Diffstat (limited to 'src/clj/queue_api/db/core.clj')
-rw-r--r--src/clj/queue_api/db/core.clj20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/clj/queue_api/db/core.clj b/src/clj/queue_api/db/core.clj
new file mode 100644
index 0000000..2d32736
--- /dev/null
+++ b/src/clj/queue_api/db/core.clj
@@ -0,0 +1,20 @@
+(ns queue-api.db.core)
+
+
+(defn add-agent [{:keys [id name primary-skillset secondary-skillset]}]
+ (println (str "Dummy " name)))
+
+(defn add-job [{:keys [id type urgent]}]
+ (println (str "Dummy " type)))
+
+(defn request-job [id]
+ {:job_request {:job_id "Dummy" :agent_id "Dummy"}})
+
+(defn get-agent [id]
+ [{:type "reward_question" :jobs 2}
+ {:type "bills_question" :jobs 3}])
+
+(defn get-queue []
+ {:completed ["1" "2" "3"]
+ :in_process["2" "3" "4"]
+ :waiting ["2" "5" "6"]}) \ No newline at end of file