Add ajna watcher and watcher deployment records

This commit is contained in:
Prathamesh Musale 2024-05-07 19:15:29 +05:30
parent 3d0ac80cde
commit 9f094ec9d4
4 changed files with 29 additions and 2 deletions

View File

@ -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 <http://localhost:9473>:

View File

@ -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"
}

View File

@ -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"
}