Commit f4efb6c
authored
Refactor connection string handling in resource classes (#212)
Removed the `GetConnectionString` method from `TemporalServerExecutableResource` and `TemporalServerContainerResource`. Updated the `ConnectionStringExpression` property in both classes to directly use the `GetEndpoint` method with the "server" endpoint and `EndpointProperty.HostAndPort`. This simplifies the code, reduces redundancy, and improves maintainability.1 parent 844ca9a commit f4efb6c
File tree
1 file changed
+2
-28
lines changed- src/InfinityFlow.Aspire.Temporal
1 file changed
+2
-28
lines changedLines changed: 2 additions & 28 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
| 9 | + | |
23 | 10 | | |
24 | 11 | | |
25 | 12 | | |
26 | 13 | | |
27 | | - | |
| 14 | + | |
28 | 15 | | |
29 | 16 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | 17 | | |
0 commit comments