Skip to content

Commit fde33ac

Browse files
authored
fix(athena): Rename rbac-registration module to rbac-registration-indexer (#551)
* fix: rename rbac-reg module to rbac-reg-indexer Signed-off-by: bkioshn <[email protected]> * fix: conflict name Signed-off-by: bkioshn <[email protected]> --------- Signed-off-by: bkioshn <[email protected]>
1 parent 0756e01 commit fde33ac

32 files changed

+41
-42
lines changed

hermes/apps/athena/manifest_app.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"name": "http_proxy"
1010
},
1111
{
12-
"package": "modules/rbac-registration/lib/rbac_registration.hmod",
13-
"name": "rbac_registration"
12+
"package": "modules/rbac-registration/lib/rbac_registration_indexer.hmod",
13+
"name": "rbac_registration_indexer"
1414
}
1515
],
1616
"www": "modules/http-proxy/lib/www"

hermes/apps/athena/modules/rbac-registration/Cargo.toml renamed to hermes/apps/athena/modules/rbac-registration-indexer/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "rbac-registration"
2+
name = "rbac-registration-indexer"
33
version = "0.1.0"
44
edition = "2021"
55

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
VERSION 0.8
2+
3+
IMPORT ../../../../ AS hermes
4+
IMPORT ../../../../../wasm/wasi AS wasi
5+
6+
build-rbac-registration-indexer:
7+
DO wasi+BUILD_RUST_COMPONENT --wasi-src-dir=../../../../../wasm/wasi --out=rbac_registration_indexer.wasm
8+
9+
local-build-rbac-registration-indexer:
10+
FROM scratch
11+
COPY +build-rbac-registration-indexer/rbac_registration_indexer.wasm .
12+
SAVE ARTIFACT rbac_registration_indexer.wasm AS LOCAL lib/rbac_registration_indexer.wasm
13+
14+
rbac-registration-indexer-package-module:
15+
FROM hermes+build
16+
17+
COPY lib/ .
18+
COPY +build-rbac-registration_indexer/rbac_registration_indexer.wasm .
19+
20+
RUN ./target/release/hermes module package manifest_module.json
21+
SAVE ARTIFACT rbac_registration_indexer.hmod
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/input-output-hk/hermes/main/hermes/schemas/hermes_module_manifest.schema.json",
3+
"name": "rbac_registration_indexer",
4+
"metadata": "metadata.json",
5+
"component": "rbac_registration_indexer.wasm",
6+
"config": {
7+
"file": "config.json",
8+
"schema": "config.schema.json"
9+
},
10+
"settings": {
11+
"schema": "settings.schema.json"
12+
}
13+
}

hermes/apps/athena/modules/rbac-registration/lib/metadata.json renamed to hermes/apps/athena/modules/rbac-registration-indexer/lib/metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/input-output-hk/hermes/main/hermes/schemas/hermes_app_metadata.schema.json",
3-
"name": "RBAC registration service",
3+
"name": "RBAC registration indexer",
44
"version": "V0.1.0",
5-
"description": "Catalyst Role based access control registration service",
5+
"description": "Catalyst Role based access control registration indexer",
66
"src": [
77
"https://github.com/input-output-hk/hermes",
88
"https://github.com/input-output-hk/catalyst-voices"
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)