-
Notifications
You must be signed in to change notification settings - Fork 129
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
Bug: v0.5.0 breaks compatibilty with Kong <= 1.2 #59
Labels
Milestone
Comments
hbagdi
added a commit
that referenced
this issue
Aug 20, 2019
CACertificate core entitiy was not present in the past and the Admin API request will error with 404 Not Found for older versions of Kong. If we do get a 404 from Kong, instead of erroring out, return back an empty array of CACertificates, effectively disabling the entity for versions which don't have it. A better solution would be to have a version check, and based on the version, the entities are loaded and synced. Fix #59
hbagdi
added a commit
that referenced
this issue
Aug 20, 2019
CACertificate core entitiy was not present in the past and the Admin API request will error with 404 Not Found for older versions of Kong. If we do get a 404 from Kong, instead of erroring out, return back an empty array of CACertificates, effectively disabling the entity for versions which don't have it. A better solution would be to have a version check, and based on the version, the entities are loaded and synced. Fix #59 From #64
rainest
pushed a commit
that referenced
this issue
Apr 21, 2021
CACertificate core entitiy was not present in the past and the Admin API request will error with 404 Not Found for older versions of Kong. If we do get a 404 from Kong, instead of erroring out, return back an empty array of CACertificates, effectively disabling the entity for versions which don't have it. A better solution would be to have a version check, and based on the version, the entities are loaded and synced. Fix #59 From #64
AntoineJac
pushed a commit
that referenced
this issue
Jan 23, 2024
CACertificate core entitiy was not present in the past and the Admin API request will error with 404 Not Found for older versions of Kong. If we do get a 404 from Kong, instead of erroring out, return back an empty array of CACertificates, effectively disabling the entity for versions which don't have it. A better solution would be to have a version check, and based on the version, the entities are loaded and synced. Fix #59 From #64
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Kong version before 1.3 do not have
ca_certificate
entity and an attempt to sync this entity results in an error.The text was updated successfully, but these errors were encountered: