hashicorp / hashicorp/consul

Specify port after path in address in agent register api

Open
#2,311 1 comment 0 reactions 0 assignees View on GitHub
type/enhancement
Dominant language
Go
Stars
30.1k
Forks
4.6k
Avg merge
1d 18h
Merged PRs (30d)
39

Description

Version: API V1 (API limitation, not specific to a specific client or server version).

How do I register a service IP with a path after port, like `ip:port/servicepath`, in the agent register API?

This is not in the API: https://www.consul.io/docs/agent/http/agent.html#agent_service_register

Contributor guide

Open the contributing guide

Research direction

Start with the Agent Service Register API documentation linked in the issue and inspect how service addresses, ports, and paths are currently represented. Determine whether the API can support an address such as `ip:port/servicepath`, and define completion as documented, working registration behavior with an accompanying test or clear API limitation.

Written by the indexing model from the issue text.

Assessment

Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.