diff --git a/did-webplus/vdg-lib/src/vdg_config.rs b/did-webplus/vdg-lib/src/vdg_config.rs index 30e5c5d..bab4e1b 100644 --- a/did-webplus/vdg-lib/src/vdg_config.rs +++ b/did-webplus/vdg-lib/src/vdg_config.rs @@ -9,12 +9,7 @@ pub struct VDGConfig { )] pub service_domain: String, /// Specify the port on which the service will listen for HTTP requests. - #[arg( - name = "port", - env = "DID_WEBPLUS_VDG_LISTEN_PORT", - long, - default_value = "80" - )] + #[arg(env = "DID_WEBPLUS_VDG_LISTEN_PORT", long, default_value = "80")] pub listen_port: u16, /// Specify the URL of the database to connect to, e.g. "postgres:///database-name", "sqlite://name.db", /// "sqlite://name.db?mode=rwc" (read+write, create if it doesn't yet exist). diff --git a/did-webplus/vdg/README.md b/did-webplus/vdg/README.md index 6ad5e93..82945d7 100644 --- a/did-webplus/vdg/README.md +++ b/did-webplus/vdg/README.md @@ -72,4 +72,4 @@ See other targets in `Makefile` for more functionality: Optionally run the test(s) against the running VDG via - RUST_LOG=debug cargo test -p did-webplus-vdg --all-features -- --nocapture + RUST_LOG=debug cargo test -p did-webplus-vdg --all-features -- --nocapture --ignored diff --git a/did-webplus/vdr-lib/src/vdr_config.rs b/did-webplus/vdr-lib/src/vdr_config.rs index 63ca2ac..81d10f0 100644 --- a/did-webplus/vdr-lib/src/vdr_config.rs +++ b/did-webplus/vdr-lib/src/vdr_config.rs @@ -8,10 +8,10 @@ pub struct VDRConfig { /// `did:webplus:%3A:<...>`. This is different than the port on which the VDR /// listens for requests. #[arg( + name = "did-port", env = "DID_WEBPLUS_VDR_DID_PORT", long, - value_name = "PORT", - default_value = "None" + value_name = "PORT" )] pub did_port_o: Option, /// Specify the port on which the service will listen for HTTP requests. diff --git a/did-webplus/vdr/README.md b/did-webplus/vdr/README.md index 4a4d7aa..5e2189a 100644 --- a/did-webplus/vdr/README.md +++ b/did-webplus/vdr/README.md @@ -70,8 +70,8 @@ See other targets in `Makefile` for more functionality: ### Testing -Optionally run the test(s) against the running VDG via +Optionally run the test(s) against the running VDR via - RUST_LOG=debug cargo test -p did-webplus-vdg --all-features -- --nocapture + RUST_LOG=debug cargo test -p did-webplus-vdr --all-features -- --nocapture --ignored This will create a couple of DIDs and update with a fresh set of keys several times each.