Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

verify the light-config-server response headers with jar file productId and version #1936

Closed
stevehu opened this issue Oct 30, 2023 · 0 comments

Comments

@stevehu
Copy link
Contributor

stevehu commented Oct 30, 2023

When asking for the config server to provide the configuration for a particular product (like http-sidecar and light-gateway), we need to verify if the productId and product version match the ones embedded in the jar file. If they are not matched, the server won't start. Another reason to have this validation is that the product version can be sent as current in the request and the config server knows which version is the default/current one. We need to make sure that the version matches the light-4j product version. For apiId, apiVersion and envTag, we need to verify against the startup.yml file configuration. This means the config server won't send us something we are not asking for.

stevehu added a commit that referenced this issue Oct 30, 2023
younggwon1 pushed a commit to younggwon1/light-4j that referenced this issue Feb 10, 2024
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

No branches or pull requests

1 participant