add missing service port for rust webapp
All checks were successful
Run Check Script / check (pull_request) Successful in 1m0s
All checks were successful
Run Check Script / check (pull_request) Successful in 1m0s
This commit is contained in:
parent
0148d7890d
commit
0effb3ca2f
4
Cargo.lock
generated
4
Cargo.lock
generated
@ -6313,10 +6313,6 @@ version = "0.2.5"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"
|
checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "try_rust_webapp"
|
|
||||||
version = "0.1.0"
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "tui-logger"
|
name = "tui-logger"
|
||||||
version = "0.14.5"
|
version = "0.14.5"
|
||||||
|
@ -7,9 +7,7 @@ use harmony::{
|
|||||||
ApplicationScore, RustWebFramework, RustWebapp,
|
ApplicationScore, RustWebFramework, RustWebapp,
|
||||||
features::rhob_monitoring::RHOBMonitoring,
|
features::rhob_monitoring::RHOBMonitoring,
|
||||||
},
|
},
|
||||||
monitoring::alert_channel::{
|
monitoring::alert_channel::discord_alert_channel::DiscordWebhook,
|
||||||
discord_alert_channel::DiscordWebhook, webhook_receiver::WebhookReceiver,
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
topology::K8sAnywhereTopology,
|
topology::K8sAnywhereTopology,
|
||||||
};
|
};
|
||||||
@ -19,9 +17,10 @@ use harmony_types::net::Url;
|
|||||||
async fn main() {
|
async fn main() {
|
||||||
let application = Arc::new(RustWebapp {
|
let application = Arc::new(RustWebapp {
|
||||||
name: "test-rhob-monitoring".to_string(),
|
name: "test-rhob-monitoring".to_string(),
|
||||||
domain: Url::Url(url::Url::parse("hhtps://some-fake-url").unwrap()),
|
domain: Url::Url(url::Url::parse("htps://some-fake-url").unwrap()),
|
||||||
project_root: PathBuf::from("./webapp"), // Relative from 'harmony-path' param
|
project_root: PathBuf::from("./webapp"), // Relative from 'harmony-path' param
|
||||||
framework: Some(RustWebFramework::Leptos),
|
framework: Some(RustWebFramework::Leptos),
|
||||||
|
service_port: 3000,
|
||||||
});
|
});
|
||||||
|
|
||||||
let discord_receiver = DiscordWebhook {
|
let discord_receiver = DiscordWebhook {
|
||||||
|
Loading…
Reference in New Issue
Block a user