From 9f094ec9d492551663e0a78d588afceeb5a09c7a Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Tue, 7 May 2024 19:15:29 +0530 Subject: [PATCH] Add ajna watcher and watcher deployment records --- README.md | 10 ++++++++-- endpoint-records/.gitkeep | 0 .../AjnaWatcherDeploymentRecord.json | 10 ++++++++++ records/watcher/AjnaWatcherRecord.json | 11 +++++++++++ 4 files changed, 29 insertions(+), 2 deletions(-) delete mode 100644 endpoint-records/.gitkeep create mode 100644 records/watcher-deployments/AjnaWatcherDeploymentRecord.json create mode 100644 records/watcher/AjnaWatcherRecord.json diff --git a/README.md b/README.md index 1011f50..f0f9f08 100644 --- a/README.md +++ b/README.md @@ -549,10 +549,16 @@ $ laconic registry bond records reassociate --old-bond-id 5c40abd336ae1561f2a1b5 * Create and populate `config.yml` -* Publish records from [`endpoint-records`](./endpoint-records): +* Publish watcher records from [`records/watcher`](./records/watcher): ```bash - yarn ts-node src/publish-endponit-records.ts -c config.yml -r endpoint-records + yarn ts-node src/publish-endponit-records.ts -c config.yml -r records/watcher + ``` + +* Publish watcher deployment records from [`records/watcher-deployments`](./records/watcher-deployments): + + ```bash + yarn ts-node src/publish-endponit-records.ts -c config.yml -r records/watcher-deployments ``` * View the records at : diff --git a/endpoint-records/.gitkeep b/endpoint-records/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/records/watcher-deployments/AjnaWatcherDeploymentRecord.json b/records/watcher-deployments/AjnaWatcherDeploymentRecord.json new file mode 100644 index 0000000..7774102 --- /dev/null +++ b/records/watcher-deployments/AjnaWatcherDeploymentRecord.json @@ -0,0 +1,10 @@ +{ + "type": "WatcherDeploymentRecord", + "version": "0.0.1", + "schema_id": "watcher-deployment-record-schema-id", + "name": "ajna-watcher", + "watcher": "watcher-record-id", + "request": "", + "url": "https://ajna-watcher-endpoint.example.com", + "kind": "active" +} diff --git a/records/watcher/AjnaWatcherRecord.json b/records/watcher/AjnaWatcherRecord.json new file mode 100644 index 0000000..a8f1530 --- /dev/null +++ b/records/watcher/AjnaWatcherRecord.json @@ -0,0 +1,11 @@ +{ + "type": "WatcherRecord", + "version": "0.0.1", + "schema_id": "watcher-record-schema-id", + "name": "ajna-watcher", + "repository": "https://git.vdb.to/cerc-io/ajna-watcher-ts", + "repository_ref": "66b8d96308eacab1ef6a4f3cb74a0f28fb18dc67", + "watcher_version": "0.1.3", + "is_subgraph_watcher": true, + "chain": "filecoin" +}