You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Base openapi provider implementation
Signed-off-by: Guilherme Cassolato <[email protected]>
* Return without error from unimplemented ReadResourcesFromCluster func
* Move slice helper functions Map nd Filter into the providers/common package
* openapi package renamed openapi3
* thread-safe storage of specs
* refactor: resource reader simplified as part of Provider and removing converter's unused fields
* make provider resilient to invalid input openapi specs
* Gateway and parentRefs
* Declare github.com/getkin/kin-openapi as a direct dependency
* Use github.com/samber/lo for handling slices based on common patterns (mapping, filtering), instead of custom implementation
* Remove initialization of non converted kinds of resources TLSRoutes, TCPRoutes, ReferenceGrants
* init func brought further upwards
* code format
* Provider-specific options --openapi3-backend and --openapi3-gateway-class-name
Defined using a newly introduced system of dynamically registered provider-specific configuration flags.
* provider-specific flag: --openapi3-gateway-tls-secret
* ReferenceGrants for HTTPRoute to Backends and Gateway to TLS Secrets
* fix: provider-specific configs for providers with dashes in the name
* name Gateway and HTTPRoutes after the OAS title
* fix: missing backend ref argument
* update README
* Support for backend port numbers
* refactor: addressed comments from the pr
* provider-specific conf renamed as provided-specific flags
* mutex to read/write provider-specific flag definitions wrapped within a type along with the definitions themselves
* minor string handling enhancements (concatenation, trim prefix)
* additional comments explaining logics and reasoning throughout the code (thread-safety, helper funcs and expressions, etc)
* log message in case of provider-specific flag supplied without a matching provider
* more comments to explain the flow and decision of the converter
* lint: typos, gofmt and false positives
* return error in case of invalid OpenAPI 3.x spec
---------
Signed-off-by: Guilherme Cassolato <[email protected]>
fmt.Sprintf("If present, the tool will try to convert only resources related to the specified providers, supported values are %v.", i2gw.GetSupportedProviders()))
0 commit comments