ThreeMammals / Ocelot

.NET API Gateway
https://www.nuget.org/packages/Ocelot
MIT License
8.38k stars 1.64k forks source link

Configuration is restoring after restart #1276

Closed manishtiwari25 closed 7 months ago

manishtiwari25 commented 4 years ago

Expected Behavior / New Feature

As per #463 if we change anything from admin API it should update the config file(this part is working fine), but when I restart my service it is overwriting the whole configuration file.

Actual Behavior / Motivation for New Feature

while using admin API it should not restore the configuration file.

Steps to Reproduce the Problem

project files are available on Github.

Specifications

gebiWangshushu commented 4 years ago

same issue.

raman-m commented 7 months ago

Upload your config file as config part file:

After uploading it will be merged to

That's how to prevent primary file overwriting.

Makes sense?