defang
defang copied to clipboard
TechDebt: Deployment URL generation code duplicated in Fabric and CLI
Current: The CLI and mvp both have code to generate the URL of services. This is brittle as the CLI and mvp must match but they are not using the same code.
Ideally, the same code is used by any code needing URL generation.
Action Items
- Spike on how to use a common URL generator (common library or some fabric service or something else?) Keep in mind our supported platforms and things like sharding potentially affecting the URL.
- Show potential solutions and what solution seems most appropriate to other devs
- Implement the solution