Skip to content

Direction and service skeletons - #2

Merged
JSYoo5B merged 6 commits into
mainfrom
codex/01-direction-service-skeletons
Jul 4, 2026
Merged

JSYoo5B merged 6 commits into
mainfrom
codex/01-direction-service-skeletons

Conversation

@JSYoo5B

@JSYoo5B JSYoo5B commented Jul 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • Records the post-MVP direction before expanding the service surface.
  • Adds minimal version endpoints for Compute, Placement, Image, Network, and Volume.
  • Keeps the service catalog targets reachable without introducing resource behavior yet.

Main Review Points

  • docs/implementation-plan.md and docs/mvp-contract.md direction updates.
  • Minimal service version handlers and router mounts for each OpenStack component.

Verification

  • go test ./...

Comment thread internal/api/router.go
router.Get("/identity/", identityHandler.Discovery())
router.Mount("/identity/v3", identityHandler.Router())

router.Mount("/compute/v2.1", compute.NewRouter(cfg))

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This mount pattern is the service URL contract used by the Keystone catalog. The other service mounts in this block follow the same idea, so this is the main place to verify route shape.

})
}

func (h Handler) baseURL(r *http.Request) string {

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The version handlers use the same base URL fallback pattern across services. PublicURL wins when configured; otherwise the request host keeps local test servers and container ports usable without extra config.

@JSYoo5B
JSYoo5B merged commit 694e3d4 into main Jul 4, 2026
2 checks passed
@JSYoo5B
JSYoo5B deleted the codex/01-direction-service-skeletons branch July 4, 2026 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant