@@ -6,6 +6,7 @@ pub enum ServiceName {
66 AcpNatsStdio ,
77 AcpNatsWs ,
88 TrogonCron ,
9+ TrogonCronSpawnAdapter ,
910 TrogonGateway ,
1011 TrogonSourceDiscord ,
1112 TrogonSourceGithub ,
@@ -21,6 +22,7 @@ impl ServiceName {
2122 Self :: AcpNatsStdio => "acp-nats-stdio" ,
2223 Self :: AcpNatsWs => "acp-nats-ws" ,
2324 Self :: TrogonCron => "trogon-cron" ,
25+ Self :: TrogonCronSpawnAdapter => "trogon-cron-spawn-adapter" ,
2426 Self :: TrogonGateway => "trogon-gateway" ,
2527 Self :: TrogonSourceDiscord => "trogon-source-discord" ,
2628 Self :: TrogonSourceGithub => "trogon-source-github" ,
@@ -47,6 +49,10 @@ mod tests {
4749 assert_eq ! ( ServiceName :: AcpNatsStdio . as_str( ) , "acp-nats-stdio" ) ;
4850 assert_eq ! ( ServiceName :: AcpNatsWs . as_str( ) , "acp-nats-ws" ) ;
4951 assert_eq ! ( ServiceName :: TrogonCron . as_str( ) , "trogon-cron" ) ;
52+ assert_eq ! (
53+ ServiceName :: TrogonCronSpawnAdapter . as_str( ) ,
54+ "trogon-cron-spawn-adapter"
55+ ) ;
5056 assert_eq ! ( ServiceName :: TrogonGateway . as_str( ) , "trogon-gateway" ) ;
5157 assert_eq ! (
5258 ServiceName :: TrogonSourceDiscord . as_str( ) ,
@@ -79,6 +85,10 @@ mod tests {
7985 assert_eq ! ( format!( "{}" , ServiceName :: AcpNatsStdio ) , "acp-nats-stdio" ) ;
8086 assert_eq ! ( format!( "{}" , ServiceName :: AcpNatsWs ) , "acp-nats-ws" ) ;
8187 assert_eq ! ( format!( "{}" , ServiceName :: TrogonCron ) , "trogon-cron" ) ;
88+ assert_eq ! (
89+ format!( "{}" , ServiceName :: TrogonCronSpawnAdapter ) ,
90+ "trogon-cron-spawn-adapter"
91+ ) ;
8292 assert_eq ! ( format!( "{}" , ServiceName :: TrogonGateway ) , "trogon-gateway" ) ;
8393 assert_eq ! (
8494 format!( "{}" , ServiceName :: TrogonSourceDiscord ) ,
0 commit comments