spring-cloud / spring-cloud/spring-cloud-netflix

Is it possible to override the basePath used in eureka templates?

Open
#2,046 9 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
5k
Forks
2.5k
Avg merge
1d 2h
Merged PRs (30d)
10

Description

Hi, it seems that the basePath used in eureka freemarker templates (like this one) can not be overridden and is hard coded to '/' in the EurekaController. Can you please tell me if my understanding is correct? Thank you for your help.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the referenced spring-cloud-netflix-eureka-server/src/main/resources/templates/eureka/status.ftl and trace how its basePath is supplied by EurekaController. Determine whether the hard-coded '/' can be overridden, and define completion as either identifying the existing configuration path or specifying the change needed to support an override.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.