From b43ebe7ca5cae9e70b26aeaa04b84c5079a079f7 Mon Sep 17 00:00:00 2001
From: Fabian Schindler <fabian.schindler.strauss@gmail.com>
Date: Wed, 3 Aug 2022 12:29:05 +0200
Subject: [PATCH] Adding configuration example

---
 registrar/config-sample.yaml | 36 +++++++++++++++++++++++++++++++
 registrar/config.yaml        | 42 ------------------------------------
 2 files changed, 36 insertions(+), 42 deletions(-)
 create mode 100644 registrar/config-sample.yaml
 delete mode 100644 registrar/config.yaml

diff --git a/registrar/config-sample.yaml b/registrar/config-sample.yaml
new file mode 100644
index 0000000..6c82fec
--- /dev/null
+++ b/registrar/config-sample.yaml
@@ -0,0 +1,36 @@
+routes:
+  items:
+    path: registrar.route.stac.ItemRoute
+    queue: register
+    success_queue: seed
+    error_queue: error
+    replace: true
+    backends:
+      - path: registrar.backend.eoxserver.ItemBackend
+        kwargs:
+
+  collections:
+    path: registrar.route.stac.CollectionRoute
+    queue: register-collections
+    backends:
+      - path: registrar.backend.eoxserver.CollectionBackend
+        kwargs:
+
+  path:
+    pyth: registrar.route.path.PathRoute
+    queue: register-paths
+    backends:
+      - path: some.path.backend
+        kwargs:
+
+
+  application:
+    path: registrar.route.path.JSONRoute
+    queue: register-applications
+    kwargs:
+      href_field: "href"
+    backends:
+      - path: registrar_pycsw.backend.CWLBackend
+
+sources:
+...
\ No newline at end of file
diff --git a/registrar/config.yaml b/registrar/config.yaml
deleted file mode 100644
index 1ae0281..0000000
--- a/registrar/config.yaml
+++ /dev/null
@@ -1,42 +0,0 @@
-routes:
-  items:
-    type: STAC-Item
-    queue: register
-    success_queue: seed
-    error_queue: error
-    replace: true
-    backends:
-      - path: registrar.backend.eoxserver.EOxServerItemBackend
-        kwargs:
-
-    handlers:
-      pre:
-      post:
-      error:
-
-  collections:
-    type: STAC-Collection
-    queue: register-collections
-    backends:
-      - path: registrar.backend.eoxserver.EOxServerCollectionBackend
-        kwargs:
-
-    handlers:
-      pre:
-      post:
-      error:
-
-  path:
-    type: path
-    queue: register-paths
-    backends:
-      - path: some.path.backend
-        kwargs:
-
-    handlers:
-      pre:
-      post:
-      error:
-
-sources:
-...
\ No newline at end of file
-- 
GitLab