Comments (6)
I suspect there's something wrong with your app configuration layer, or it executes too late. I'm unable to reproduce this against Steeltoe 3.x. I've tried the following:
- Open https://github.com/SteeltoeOSS/Samples/blob/main/Discovery/src/FortuneTeller.sln, set Fortune-Teller-Service as startup project
- Add the following line to
Program.cs
, between.AddCloudFoundryConfiguration()
and.AddAllActuators()
:ConfigureAppConfiguration(builder => builder.AddInMemoryCollection(new Dictionary<string, string> { { "Eureka:Instance:InstanceId", "some" } }))
- Start Eureka docker container
- Select the Fortune-Teller-Service launch profile, run the project, and navigate to http://localhost:8761/eureka/apps
- The registered app shows up with Instance ID "some", see below:
Can you provide reproduction steps, so it can be reproduced and debugged?
from steeltoe.
i know that it is not an issue with config layer ordering as if I change the casing it correctly resolves it.
Would it be helpful if I make a basic repo branch rather than try an describe it?
from steeltoe.
I would prefer if you try to reproduce the problem with our sample, gradually adding parts from your app until it breaks.
from steeltoe.
Sure thing will do that
from steeltoe.
hmm, this is interesting. I have brought across my entire configuration layer and can't reproduce it. Changing the casing still results in it working. Maybe some serialisation behaviour differs? But will need to look into this further.
from steeltoe.
Thanks for investigating. I'm closing this, as it doesn't seem to be a Steeltoe issue. Feel free to open a new issue when you've identified what's going on.
from steeltoe.
Related Issues (20)
- Only the first label is being processed HOT 5
- [QUESTION] Using Microsoft.Extensions.Logging with Config Server HOT 2
- Libraries should have a strong name HOT 7
- System.InvalidOperationException: ValueFactory attempted to access the Value property of this instance HOT 2
- Schemas for Eureka should be extracted & become public HOT 1
- Implementation of Eureka LeaseInfo timestamp HOT 6
- Eureka service registration occurring for the wrong port. HOT 4
- Requests to /cloudfoundryapplication possibly return results for /actuator HOT 1
- Environment is being used rather than active profiles for config server HOT 2
- 2 step import not happening HOT 2
- When eureka registration is occuring the app name is empty in the payload HOT 7
- Port information is not transferred as part of body request HOT 5
- Mappings endpoint should return parameters for url HOT 1
- Using steeltoe connectors with EasyNetQ is awkward. HOT 3
- V4 Connectors usage pattern is too intrusive HOT 3
- Implementation of distributed tracing
- Remove IFileProvider overload on ConfigureCertificateOptions HOT 1
- Allow changing the header used for certificate auth
- Config server URLs appear encoded in logs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from steeltoe.