Skip to content

ecds: create shared base class for DynamicFilterConfigProviderImpl#17735

Merged
mattklein123 merged 3 commits intoenvoyproxy:mainfrom
tbarrella:ecds
Aug 20, 2021
Merged

ecds: create shared base class for DynamicFilterConfigProviderImpl#17735
mattklein123 merged 3 commits intoenvoyproxy:mainfrom
tbarrella:ecds

Conversation

@tbarrella
Copy link
Contributor

cc @kyessenov @lambdai

Commit Message:
ecds: create shared base class for DynamicFilterConfigProviderImpl

Signed-off-by: Taylor Barrella tabarr@google.com

Additional Description: Part of #14696 (comment). The plan is to later change the signature of onConfigUpdate (as in #14717) and refactor more so that DynamicExtensionConfigProviderBase is no longer a template
Risk Level: Low
Testing: Existing
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features: N/A
#14696

Signed-off-by: Taylor Barrella <tabarr@google.com>
return tls_->config_;
}

void DynamicFilterConfigProviderImpl::onConfigUpdate(Envoy::Http::FilterFactoryCb config,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the reason for moving these implementations to the header? Is DynamicFilterConfigProviderImpl going to become a template?

Copy link
Contributor Author

@tbarrella tbarrella Aug 17, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry yes, that's the plan. DynamicFilterConfigProviderImplBase will not be a template, while DynamicFilterConfigProviderImpl will be with FactoryCallback as a parameter

Signed-off-by: Taylor Barrella <tabarr@google.com>
@tbarrella tbarrella requested a review from rojkov August 17, 2021 13:55
Signed-off-by: Taylor Barrella <tabarr@google.com>
Copy link
Member

@rojkov rojkov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! LGTM

@mattklein123 mattklein123 merged commit 3bdf786 into envoyproxy:main Aug 20, 2021
@tbarrella tbarrella deleted the ecds branch August 20, 2021 18:35
mpuncel added a commit to mpuncel/envoy that referenced this pull request Aug 25, 2021
* main: (32 commits)
  Stop processing pending H/2 frames if connection transitioned to the closed state
  http2: limit use of deferred resets in the http2 codec to server-side connections
  Abort filter chain iteration on local reply
  Reject or strip fragment from request URI
  ext-authz: merge duplicate headers from client request in check request
  common: introduce stable logger /w examples in DNS  (envoyproxy#17772)
  route: fast return when route matches failed (envoyproxy#17769)
  owners: add owners for dubbo proxy network filter (envoyproxy#17820)
  config/router/tcp_proxy/options: v2 API, boosting and --bootstrap-version CLI removal. (envoyproxy#17724)
  coverage: revert the limit http/cache to 92.6. (envoyproxy#17817)
  network: rename SocketAddressProvider as ConnectionInfoProvider (envoyproxy#17717)
  test: bumping coverage (envoyproxy#17757)
  conn_pool: Minor cleanups to ConnPoolBaseImpl (envoyproxy#17710)
  Split VaryHeader into VaryAllowList and VaryUtils to organize vary-related logic (envoyproxy#17728)
  ext_proc: Make tests more resilient to IPv6 support (envoyproxy#17784)
  Remove invlaid backquote from doc (envoyproxy#17797)
  rocketmq: move to contrib (envoyproxy#17796)
  kafka: upstream kafka facade in mesh-filter (envoyproxy#17783)
  ecds: create shared base class for DynamicFilterConfigProviderImpl (envoyproxy#17735)
  Change log level from debug to trace (envoyproxy#17774)
  ...

Signed-off-by: Michael Puncel <mpuncel@squareup.com>
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

Successfully merging this pull request may close these issues.

4 participants