data-api-builder icon indicating copy to clipboard operation
data-api-builder copied to clipboard

🥕[Enhancement]: Add developer links in console output

Open JerryNixon opened this issue 2 years ago • 0 comments

What happened?

When dab start is successful, the final output looks like this:

info: Azure.DataApiBuilder.Core.Configurations.RuntimeConfigValidator[0]
      Validating entity relationships.
info: Azure.DataApiBuilder.Service.Startup[0]
      Successfully completed runtime initialization.
info: Microsoft.Hosting.Lifetime[14]
      Now listening on: http://localhost:5000
info: Microsoft.Hosting.Lifetime[14]
      Now listening on: https://localhost:5001
info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
      Content root path: C:\Temp\dab

But it would be nice if we added developer links @ the end when Mode=Development:

info: Azure.DataApiBuilder.Core.Configurations.RuntimeConfigValidator[0]
      Validating entity relationships.
info: Azure.DataApiBuilder.Service.Startup[0]
      Successfully completed runtime initialization.
info: Microsoft.Hosting.Lifetime[14]
      Now listening on: http://localhost:5000
info: Microsoft.Hosting.Lifetime[14]
      Now listening on: https://localhost:5001
info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
      Content root path: C:\Temp\dab
dbug: Open OpenApi Specs: http://localhost:5000/OpenApi
      Or https://localhost:5000/OpenApi
dbug: Open REST UI: http://localhost:5000/api/swagger
      Or http://localhost:5000/api/swagger
dbug: Open GraphQL UI: http://localhost:5000/graphql
      Or http://localhost:5000/graphql

Formatted however best you can.

Version

Microsoft.DataApiBuilder 0.9.5-rc+73a02dcd3b85a73ac36a5675432a45b7a3cc4a7d

What database are you using?

Azure SQL

What hosting model are you using?

Local (including CLI)

Which API approach are you accessing DAB through?

GraphQL

Relevant log output

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

JerryNixon avatar Oct 10 '23 00:10 JerryNixon