()
| 797 | use super::*; |
| 798 | |
| 799 | fn endpoint() -> ServiceEndpoint { |
| 800 | ServiceEndpoint { |
| 801 | metadata: Some(openshell_core::proto::datamodel::v1::ObjectMeta { |
| 802 | id: "endpoint-id".to_string(), |
| 803 | name: "my-sandbox--web".to_string(), |
| 804 | created_at_ms: 1_700_000_000_000, |
| 805 | labels: std::collections::HashMap::default(), |
| 806 | resource_version: 0, |
| 807 | }), |
| 808 | sandbox_id: "sandbox-id".to_string(), |
| 809 | sandbox_name: "my-sandbox".to_string(), |
| 810 | service_name: "web".to_string(), |
| 811 | target_port: 8080, |
| 812 | domain: true, |
| 813 | } |
| 814 | } |
| 815 | |
| 816 | fn config() -> ServiceRoutingConfig { |
| 817 | ServiceRoutingConfig { |
no outgoing calls