* default to using endpoints instead of edges for ingress/gateway API
Signed-off-by: Alice-Lilith <a.wasko@ngrok.com>
* update old edge tests to no longer expect edges by default
Signed-off-by: Alice-Lilith <a.wasko@ngrok.com>
---------
Signed-off-by: Alice-Lilith <a.wasko@ngrok.com>
* update edges calculation to ignore endpoint ingresses/gateways
Signed-off-by: Alice-Lilith <a.wasko@ngrok.com>
* add conversion support from ingress to endpoints
Signed-off-by: Alice-Lilith <a.wasko@ngrok.com>
* move common helpers from driver member funcs to standalone util funcs
Signed-off-by: Alice-Lilith <a.wasko@ngrok.com>
* add traffic policy phase name
Signed-off-by: Alice-Lilith <a.wasko@ngrok.com>
* add rule name support to traffic policy pkg
Signed-off-by: Alice-Lilith <a.wasko@ngrok.com>
* add ir package to assist with translation
Signed-off-by: Alice-Lilith <a.wasko@ngrok.com>
* move endpoints annotation util to common package
Signed-off-by: Alice-Lilith <a.wasko@ngrok.com>
* add new translator to take over config translation
I will likely pull this out into it's own package after decoupling
some more of the driver
Signed-off-by: Alice-Lilith <a.wasko@ngrok.com>
* rework manager driver to use new config translator
Signed-off-by: Alice-Lilith <a.wasko@ngrok.com>
* clean up manager driver utils and tests
Signed-off-by: Alice-Lilith <a.wasko@ngrok.com>
* add translator tests
Signed-off-by: Alice-Lilith <a.wasko@ngrok.com>
* fix: Add ingress/gateway domains to returned map
Fixes and issue where the last domain would win
(cherry picked from commit 36d332eab3483b08fa0530e1d6305b9a8383d717)
* test: Add test to reproduce behavior
(cherry picked from commit ff44b31bcf4dbbc6fb63257f06487ec65075d6dd)
* fix endpoint translation merging bugs and add more test coverage
Signed-off-by: Alice-Lilith <a.wasko@ngrok.com>
---------
Signed-off-by: Alice-Lilith <a.wasko@ngrok.com>
Co-authored-by: Jonathan Stacks <jonstacks@users.noreply.github.com>