Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🛠️ HutchController tidy up #31

Open
18 of 25 tasks
beforan opened this issue May 24, 2024 · 0 comments
Open
18 of 25 tasks

🛠️ HutchController tidy up #31

beforan opened this issue May 24, 2024 · 0 comments
Assignees
Labels
🛠️ backlog This issue is a planned work item

Comments

@beforan
Copy link
Member

beforan commented May 24, 2024

Summary

Following the semi-productionisation of the Rquest Bridge demo environment, some desirable tidy up of the lkightweight Controller layer has come to light.

This issue represents that work:

Tasks

  • Rename DummyControllerApi to HutchController
    • Project, solution etc.
    • Dockerfile
    • build/deploy workflows
    • appsettings
    • namespaces
    • assemblyname / root namespace
    • ...?
  • tidy default / dev appsettings
  • Modern web startup
    • add CLI
    • CLI, web, EF entrypoints
    • Add /version endpoint
  • Remove https redirect stuff as this is an api only and should be configured directly by binding only? or should we redirect swagger from http?
  • external logging
    • seq? elk?

Acceptance Criteria

  • Program.cs is lightweight and simply:
    • inits CLI
    • bypasses CLI and runs webapp if no args are present
    • supports EF bootstrapping
  • base CLI entrypoint and helpers are present
  • /version web endpoint reports assembly informational version
  • Dependency Injection Service configuration is separated from Application Pipeline configuration
  • HutchController builds and deploys successfully using that name
    • assembly name should be kebab-case
    • namespaces should be nested under Hutch to match the agent
  • Https redirection should not be attempted (except for swagger? TBC)
  • Optionally can log to an external service
@beforan beforan self-assigned this May 24, 2024
@beforan beforan changed the title HutchController tidy up ⚒️ HutchController tidy up May 24, 2024
@beforan beforan added the 🛠️ backlog This issue is a planned work item label May 24, 2024
@beforan beforan changed the title ⚒️ HutchController tidy up 🛠️ HutchController tidy up May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🛠️ backlog This issue is a planned work item
Projects
None yet
Development

No branches or pull requests

1 participant