mirror of https://github.com/linkerd/linkerd2.git
This change is in a similar vein to #4052 which provided support for configuring service profile retries via a vendor extension of `x-linkerd-retryable`, when generating from an openapi specification. This change is very similar to the final version of that pull request, and adds a timeout value based on `x-linkerd-timeout`. At this point I believe that if the timeout is not specified then the default provided by linkerd of 30s will apply anyway, but won't explicitly be reflected in the service profile, which I'm somewhat okay with as a current state, but I think there's a potential future improvement that the default timeout is always shown when generating from an open api spec, but that's more to make it clear and obvious that that timeout exists. Signed-off-by: Lewis Cowper <lewis.cowper@googlemail.com> |
||
---|---|---|
.. | ||
openapi.go | ||
openapi_test.go | ||
profiles.go | ||
profiles_test.go | ||
proto.go | ||
proto_test.go | ||
tap.go | ||
tap_test.go | ||
template.go | ||
test_helper.go |